package com.android.jixin.channel.bean;

import java.util.List;

/**
 * Created by fitz on 2016/12/22.
 *
 * desc     团队列表
 */

public class GetTeamListResult {
    /**
     * success : true
     * code : 1
     * msg : 操作成功
     * data : {"currentPage":1,"pageNumber":1,"pageSize":20,"result":[{"college":"清华大学","earnAmount":"","mobile":"15265895623","name":"代言人2","posterId":4},{"college":"清华大学","earnAmount":"131.00","mobile":"15698568523","name":"CEO","posterId":3},{"college":"北京大学","earnAmount":"123.00","mobile":"15268529526","name":"代言人1","posterId":2}],"totalCount":3}
     */

    private boolean success;
    private String code;
    private String msg;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * currentPage : 1
         * pageNumber : 1
         * pageSize : 20
         * result : [{"college":"清华大学","earnAmount":"","mobile":"15265895623","name":"代言人2","posterId":4},{"college":"清华大学","earnAmount":"131.00","mobile":"15698568523","name":"CEO","posterId":3},{"college":"北京大学","earnAmount":"123.00","mobile":"15268529526","name":"代言人1","posterId":2}]
         * totalCount : 3
         */

        private int currentPage;
        private int pageNumber;
        private int pageSize;
        private int totalCount;
        private List<ResultBean> result;

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * college : 清华大学
             * earnAmount :
             * mobile : 15265895623
             * name : 代言人2
             * posterId : 4
             */

            private String college;
            private String earnAmount;
            private String mobile;
            private String name;
            private int posterId;

            public String getCollege() {
                return college;
            }

            public void setCollege(String college) {
                this.college = college;
            }

            public String getEarnAmount() {
                return earnAmount;
            }

            public void setEarnAmount(String earnAmount) {
                this.earnAmount = earnAmount;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getPosterId() {
                return posterId;
            }

            public void setPosterId(int posterId) {
                this.posterId = posterId;
            }
        }
    }
}
